package com.nclg.exam.entity;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class TUser implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long uId;

    private String uAccount;

    private String uPassword;

    private String uName;

    private String uSex;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date uBirthday;

    private String uIco;

    private String uPhone;

    private String uRole;

    private String uStatus;

    private String uEmail;

    private String uSalt;

}
